/*
 * @Author: your name
 * @Date: 2019-11-29 18:19:20
 * @LastEditTime: 2020-04-20 16:36:57
 * @LastEditors: 陈德平
 * @Description: In User Settings Edit
 * @FilePath: /cityScreenVue/public/config/map-config.js
 */
import {BgUrl} from './url'
const mapConfig = {
  areacode: "4403",
  areaname: "深圳市",
  center: [114.1906020202922, 22.678757739490692],
  zoom: 10,
  mapCRS: {
    topTileExtent: [-180, -270, 180, 90],
    coordtransform: "none",
    resolutions: [] 
  },
  //深色底图
  source: {
    type: "raster",
    tiles: [ BgUrl],
    zoomOffset: 10, // wmts Capabilities信息中TileMatrix第一个对应的实际多少级
    tileSize: 256
  },
  //周边城市边界地图服务
  source_szzb: {
    type: "raster",
    tiles: [
      "http://pnr.sz.gov.cn/d-suplicmap/tilemap_1/rest/services/SZMAP_BASEMAP_GK2K/MapServer/tile/{z}/{y}/{x}"//注记
    ],
    zoomOffset: 10, // wmts Capabilities信息中TileMatrix第一个对应的实际多少级
    tileSize: 256
  },
  //注记
  source1: {
    type: "raster",
    tiles: [
      // "http://10.253.173.14:6080/arcgis/rest/services/SZKSJ/DTVEC_SS_ZQ_SHI/MapServer/tile/{z}/{y}/{x}",
      //"http://10.253.173.14:6080/arcgis/rest/services/SZKSJ/DTVECZJ_SS_ZQ_SHI/MapServer/tile/{z}/{y}/{x}",
      //"http://192.168.37.161/tilemap_1/rest/services/SZMAP/SZMAP_ANNO_ZFW_ZW2K/MapServer/tile/{z}/{y}/{x}",//注记
      "http://pnr.sz.gov.cn/d-suplicmap/tilemap_1/rest/services/SZMAP_BASEMAP_GK2K/MapServer/tile/{z}/{y}/{x}"//注记

    ],
    zoomOffset: 10, // wmts Capabilities信息中TileMatrix第一个对应的实际多少级
    tileSize: 256
  },
  //兴趣注记
  source2: {
    type: "raster",
    tiles: [
      "http://pnr.sz.gov.cn/d-suplicmap/tilemap_1/rest/services/SZMAP_BASEMAP_GK2K/MapServer/tile/{z}/{y}/{x}"//注记
    ],
    zoomOffset: 10, // wmts Capabilities信息中TileMatrix第一个对应的实际多少级
    tileSize: 256
  },
  source_qs: {
    type: "raster",
    tiles: [ 
        "http://pnr.sz.gov.cn/d-suplicmap/tilemap_1/rest/services/SZMAP_BASEMAP_GK2K/MapServer/tile/{z}/{y}/{x}"//底图
    ],
    zoomOffset: 10, // wmts Capabilities信息中TileMatrix第一个对应的实际多少级
    tileSize: 256
  },
  units: "degrees",
  ldHeight: 3
};
export {mapConfig}